﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using XamarinToolKit.Model;

namespace XamarinToolKit.Interfaces
{
    public interface IToolKitService
    {
        Task<List<ToolKitMaster>> GetToolKitMastersAsync();

        Task<ToolKitMaster> GetToolKitMasterByIdAsync(int id);

        Task<List<ToolKitDetail>> GetToolKitDetailsAsync(int masterId);

        Task<bool> AddToolKitDetail(ToolKitDetail detail);

        Task<bool> UpdateToolKitDetail(ToolKitDetail detail);

        Task<bool> DeleteToolKitDetail(int id);
    }
}
